---
title: 'Nack messages'
description: "Nack messages in a Sequin Stream"
api: 'POST /api/http_pull_consumers/{consumer_id_or_name}/nack'
---

## Request parameters

<ParamField path="consumer_id_or_name" type="string" required>
  The ID or name of the Sequin Stream.
</ParamField>
<ParamField body="ack_ids" type="string[]" required>
  An array of `ack_id` values to nack.

  Each message returned by the [`/receive` endpoint](/reference/sequin-stream-api/receive) contains an `ack_id` that you can use to `nack` the message.
</ParamField>

<RequestExample>
```shell
curl --request POST \
  --url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/nack \
  --header 'Authorization: Bearer YOUR_API_TOKEN'\
  --header 'Content-Type: application/json' \
  --data '{
    "ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
  }'
```
</RequestExample>

<ResponseExample>
```json 200 OK
{ "success": true }
```
</ResponseExample>